package com.evildog.workspace.file.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import com.evildog.workspace.file.entity.Bucket;
import com.evildog.workspace.file.entity.BucketPageDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * bucket Mapper 接口
 * </p>
 *
 * @author evildog
 * @since 2020-07-19
 */
public interface BucketMapper extends BaseMapper<Bucket> {

    /**
    * 自定义分页
    */
    IPage<BucketPageDO> getPageList(IPage<BucketPageDO> page, @Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") BucketPageDO param);

    /**
    * list
    */
    List<Bucket> getList(@Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") Bucket param);

}
